home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 41 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: tdl.com!tuna
  2. From: tuna@tdl.com (Chris Cochems)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: A Hacker's Question..
  5. Date: 2 Jan 1996 08:46:21 GMT
  6. Organization: The Diamond Lane
  7. Message-ID: <4carct$aum@news.tdl.com>
  8. References: <36@ppse.win-uk.net><9601010223.AA0006n@cosine.demon.co.uk> <47@ppse.win-uk.net>
  9. NNTP-Posting-Host: tdl.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Here's what you do to set up a c64 for hacking.  Get a multi-cart adapter 
  13. wit reset button.  Put a Fast Load in one slot.  This fast load is what 
  14. you will reset into.  You load the program, and when you want to do the 
  15. reset, be sure the fast load and no other carts are switched in.  
  16.  
  17. Here's why you need the fastload (or some other cart that returns you to 
  18. BASIC and switches itself out)
  19.  
  20. Many programs are "reset protected".  This means that not even a hardware 
  21. reset will escape the program!  THis is done by poking the magic 4 byte 
  22. code into $8004-7.  THis fools the computer into thinking there is a 
  23. cartridge in.  If there was no cartridge in, the program would jump to 
  24. the address pointed to by $8000-1.  When you have a fast load cart 
  25. in, it will see the 4 bytes upon pressing reset.  But the hardware reset 
  26. switches in the Fast Load's ROMs.  The Fast load ROM at $8000 overrides 
  27. the programs' RAM pointer!  Fastload then makes it's changes, and 
  28. switches itself back out, leaving you with your reset-protected program 
  29. in memory!
  30.  
  31. The older c64s can be reset at 3 places.  The serial port reset line, the 
  32. cartridge reset line, and the User Port reset line.  The serial reset 
  33. line no longer works for this purpose on the newer c64s.
  34.  
  35. I installed a reset switch into my commodore automodem with the help of 
  36. some wires, and a ddrill.. :)
  37.  
  38. Note: using the User Port reset line does NOT cause the serial bus to be 
  39. reset on some c64s.. 
  40.  
  41. Chuck Cochems
  42.